package com.zyh.testhomework;

import java.util.Scanner;

public class Test1 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入姓名，性别，年龄");
        String name = sc.next();
        System.out.println("name = " + name);
        String sex = sc.next();
        System.out.println("sex = " + sex);
        int age = sc.nextInt();
        System.out.println("age = " + age);
    }
}
